Conversation
0c251c4 to
430e0b3
Compare
|
This is great! Huge +1. Would you be up for fixing the violations as well? 🙂 |
|
Sure. I can start off with the md files. Unsure about whether the Dockerfile lint errors should be fixed. |
|
Don't see a reason why they shouldn't? /cc @nodejs/docker |
|
I vote -0 here, there are many details in super-linter we may need to control by ourselves, like the versions of the linters, the excluded rules of the linters, etc. |
|
Some of the current errors: hadolint (docker): Unsure if some of these should be fixed or not like whether the alpine apk packages be pinned? shfmt: It looks like it prefers no space after the redirection. Errors are mostly all like this. -hash git 2> /dev/null || { echo >&2 "git not found, exiting."; }
+hash git 2>/dev/null || { echo >&2 "git not found, exiting."; }js (standard). All semicolon or comma: markdownlint. Misc errors: |
|
It might help to add some problem matches so the specific lines are highlighted.
|
|
Sorta odd the "super" linter doesn't come with problem matchers |
6c21201 to
28ed739
Compare
|
Looks like it won't do more than 10 annotations for the non-changed files, but that's probably OK |
a28dd5b to
818c8f4
Compare
|
I'm thinking that for the |
Yeah that is doable. I could more easily do this when my node port to |
|
We use shfmt as Also wondering, if super-linter updated a version of the linters which need our changes, but we don't have the effort to resolve it immediately, it could be a problem, as super-linter doesn't seem to be able to specify the version of the linters. |
Sure, I think I could make shfmt use those parameters. I think it follows the editorconfig: https://github.com/github/super-linter/blob/master/docs/disabling-linters.md#shfmt-config-file As for the versioning, the current actions (except for shfmt) aren't pinned atm. The new action pins super-linter so I wouldn't expect any non-major version increase to introduce any breaking changes. |
7b56b85 to
589edd1
Compare
If we use the same parameters, I think the shell scripts should be the same without any change? Looks like the indentation was still revised 🤔
Cool 👍 |
00f7976 to
2e23cbd
Compare
Replace all other linters with super-linter
2e23cbd to
446fe71
Compare
|
Can we revive this? And also set |
Replace all other linters with super-linter (docs here): https://github.com/github/super-linter
It has all the linters that the previous actions used.
Docs for disabling rules: https://github.com/github/super-linter/blob/master/docs/disabling-linters.md
Refs: #1368 (comment)